package constant.milk.cashbook.apt;

import java.util.HashMap;

import android.content.Context;
import constant.milk.cashbook.database.DbAdapter;
import constant.milk.cashbook.database.DbInsertQuery;

public class ChungcheongbukdoSetting
{
	private DbInsertQuery insertQuery;
	
	public ChungcheongbukdoSetting(Context context, DbAdapter db)
	{
		insertQuery = new DbInsertQuery(context, db);
	}
	
	public void Setting() throws Exception
	{
		setData("괴산군", "127", "64");
		setData("단양군", "111", "67");
		setData("보은군", "89", "61");
		setData("영동군", "135", "85");
		setData("옥천군", "177", "109");
		setData("음성군", "131", "81");
		setData("제천시", "131", "88");
		setData("증평군", "122", "91");
		setData("진천군", "143", "105");
		setData("청주시 상당구", "164", "119");
		setData("청주시 서원구", "0", "0");
		setData("청주시 청원구", "0", "0");
		setData("청주시 흥덕구", "203", "142");
		setData("충주시", "163", "121");
	}
	
	private void setData(String name, String meib, String junse) throws Exception
	{
		HashMap<String, String> map = new HashMap<String, String>();
		
		map.put("title", "충청북도");
		map.put("name", name);
		map.put("meib", meib);
		map.put("junse", junse);
		
		insertQuery.setAptData(map);
	}
}
